]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
systemActions: Alias power-off to halt and stop
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 21 Dec 2019 02:31:14 +0000 (03:31 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 8 Jan 2020 15:32:28 +0000 (15:32 +0000)
Those are words users may reasonably use when trying to shut down their
computer, so add them to the list of keywords.

https://bugzilla.gnome.org/show_bug.cgi?id=791659

js/misc/systemActions.js

index 6e9907b71a2f0b45c1d7b2a310b67d26dbb0d379..07e1880b3cdffb347d533fcfd995065eefcf27b5 100644 (file)
@@ -89,7 +89,7 @@ const SystemActions = GObject.registerClass({
             name: C_("search-result", "Power Off"),
             iconName: 'system-shutdown-symbolic',
             // Translators: A list of keywords that match the power-off action, separated by semicolons
-            keywords: _("power off;shutdown;reboot;restart").split(/[; ]/),
+            keywords: _('power off;shutdown;reboot;restart;halt;stop').split(/[; ]/),
             available: false,
         });
         this._actions.set(LOCK_SCREEN_ACTION_ID, {